#include <stdio.h>

char * func() {
    char a = 'w';

    return &a;
}

int main(int argc, char *argv[])
{
    char *p = NULL;

    p = func();

    printf("%c \n",*p);
    
    return 0;
}
